<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE HTML>
<html>
	
  <head>
    
    <title>流程管理</title>
    


<style>
	<!--
	table {
	table-layout: fixed;
	word-wrap:break-word;
	}
	td{
		
		word-break:break-all;
	}
	
	}
	//-->
</style>

  </head>
  <base target="_self"></base>
  <body>
  
    <input type="hidden" id="flowCode" name="flowCode" value=""/>
    
    <table  width="100%"  border="0" cellpadding="0" cellspacing="0" height="100%">
  	
  	<tr valign="top">
  		<td>
  			<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  
 <tr>
    	
    	<td width="100%">
    		<FONT size="6">确认流程</FONT> 
       	</td>
    </tr>
    
    <tr>
    	
     	
     	
     	<td valign="top" >
     
     	</td>
     		</tr>
 <tr>
     		<td>
			
    	
			
	
	</td>
     		</tr>
     		 <tr>
     		<td>
     		
		
     	</td>
     	</tr>
     	<tr>
     	<td>

     <table border="0" cellpadding="0" cellspacing="0"  width="100%">
    	 <tr>
     		<td width="100%">
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		
     		<tr>
     			<td>出货单信息</td>
     		</tr>
     	</table>
     	</td>
     		</tr>
 		<tr>
     		<td>
     			<FONT color="red"><s:property value="operationResult"/></FONT>
     			<s:fielderror id="errormessage" />
     			<br/>
     			
				<table border="0" cellpadding="0"  cellspacing="0" width="100%"  style= "border:1px solid #ffffff;" class="bottomline">
					<tr>
					
						<td width="100">出货单号:</td>
						<td><s:property value="receiptlist.id_receiptlist"/> 
						
						
						</td>
						<td ></td>
					</tr>
					<tr>
					
						<td width="100">出货单部门:</td>
						<td ><s:property value="receiptlist.department_receiptlist"/></td>
						<td ></td>
					</tr>
					
					<tr>
					
						<td>客户ID:</td>
						<td><s:property value="receiptlist.customerid_receiptlist"/></td>
						<td></td>
					</tr>
					
				</table>
				
				<table border="0" cellpadding="0"  cellspacing="0" width="100%"  style= "border:1px solid #ffffff;" class="bottomline">
					
					
				<tr>
					
						<td>客户信息:</td>
						<td align="left"><s:property value="receiptlist.customerinfo_receiptlist"/></td>
						<td></td>
				</tr>
					
				</table>
				
				<table border="0" cellpadding="0"  cellspacing="0" width="100%"  style= "border:1px solid #ffffff; border-bottom-color:#21a4dc;
    border-left-color:#21a4dc;border-right-color:#21a4dc;border-top-color:#21a4dc">
				
					<tr>
					
						<td width="105">出货ID</td>
						<td width="300">名称</td>
						<td>数量</td>
						<td>单价</td>
						<td>总价</td>
						<td>仓库</td>
					</tr>
					
				<s:iterator id="receiptList" value="receiptList">
					<tr>
					
						<td width="105">
						 	<s:property value="#receiptList.id_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.goodsname_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.number_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.price_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.total_receipt"/>
						</td>
						<td>
							<s:property value="#receiptList.warehousename_receipt"/>
						</td>
					</tr>
				</s:iterator>
				
				</table>
				
				<table border="0" cellpadding="0"  cellspacing="0" width="100%"  style= "border:1px solid #ffffff;" >
					<tr>
					
						<td width="105">运费:</td>
						<td><s:property value="receiptlist.shipprice_receiptlist"/></td>
					
					
					
						<td>产品数量:</td>
						<td><s:property value="receiptlist.goodsnumber_receiptlist"/></td>
					
					</tr>
					
					<tr>
					
						<td>总额:</td>
						<td><s:property value="receiptlist.total_receiptlist"/></td>
					
					
					
						<td>操作员:</td>
						<td><s:property value="receiptlist.username_receiptlist"/></td>                          
						
					</tr>
					
					
					<tr>
						<td>描述/备注:</td>
						<td><s:property value="receiptlist.remark_receiptlist"/></td>
						
						<td>日期:</td>
						<td><s:property value="receiptlist.date_receiptlist"/></td>
						
					</tr>
					
					

				</table>
			

	</td>
     		</tr>
     		 <tr>
     		<td>
     			<a href="warehouse/receiptlistadd.jsp">查看流程</a> 
     			
     			
     			
     			
     	</td>
     	</tr>
     	
     	
     	
     	</table>
     	
	</td>
     		</tr>
     	</table>
     	
     	
	</td>
</tr>
<tr>
     		<td width="100%">
     		 
				
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		
     		<tr>
     			<td>确认邮费</td>
     		</tr>
     	</table>
     	</td>
     		</tr>
     		
     		<tr>
     		
     <td width="100%">

		
		<input type="hidden" id="flowCode" name="flowCode" value="<s:property value="flowCode"/>"/>
    	<input type="hidden" id="kind" name="kind" value="<s:property value="kind"/>"/>
    	<input type="hidden" id="kindid" name="kindid" value="<s:property value="kindid"/>"/>
    	
     	<table width="100%" border="0" cellpadding="0">
     		
     		<tr>
     			<td>实收邮费: <s:property value="receiptlist.shipprice_receiptlist"/></td>
     		</tr>
     		
     		<tr>
     			<td>实际支出邮费: <input name="doublevalue_recordlist" id="doublevalue_recordlist" type="text" value="" /></td>
     		</tr>
     		
     		<tr>
     			<td><button onclick="javascript:openUrlForDialog('confirmshippriceflow.action?flowCode=<s:property value="flowCode"/>&kind=<s:property value="kind"/>&kindid=<s:property value="kindid"/>&doublevalue_recordlist='+$('#doublevalue_recordlist').attr('value'));">确认邮费流程</button></td>
     		</tr>
     	</table>
     	</td>
     		</tr>
</table>
  		
  	

   
  </body>
  <script type="text/javascript">
  	function enterFlowSubmit(flowCode){
		
  		enterflowForm['flowCode'].value = flowCode;
  		enterflowForm['flowCode'].submit();
  	}
  	document.getElementById('doublevalue_recordlist').focus();
  	
  
  </script>
</html>
